import request from '@/utils/request.js'

export function login(data) {
  return request({
    url: '/user/login',
    method: 'post',
    data,
  })
}

export function getLoginUser() {
  return request({
    url: '/user/get/login',
  })
}
